package com.cqhgcloud.hgdp.organ.servcie.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cqhgcloud.hgdp.organ.common.DS;
import com.cqhgcloud.hgdp.organ.common.DataSourceType;
import com.cqhgcloud.hgdp.organ.entity.Student;
import com.cqhgcloud.hgdp.organ.mapper.StudentMapper;
import com.cqhgcloud.hgdp.organ.servcie.StudentServcie;

@Service
public class StudentServcieImpl extends ServiceImpl<StudentMapper, Student> implements StudentServcie {

	@Override
	@DS(DataSourceType.DataBaseType.TEST02)
	//@CachePut(value="StudentCache")
	public List<Student> finStudent() {
		return baseMapper.finStudent();
	}
}
